package org.example.config;

import org.example.bean.User;
import org.springframework.context.annotation.Bean;

public class ConfigBean {


    @Bean
    User getUser() {
        User user = new User();
        user.setUsername("小红");
        return user;
    }
}
